﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ColLeft.ascx.cs" Inherits="MyWeb.Control.Home.ColLeft" %>
<div class="indexleft">
    <div class="headleft">
        Danh mục</div>
    <div class="midleft">
        <asp:Literal ID="ltr_menu" runat="server"></asp:Literal>
    </div>
    <div class="bottomleft">
    </div>
    <script type="text/javascript">        $('li:last-child').addClass("last");</script>
    <div class="headleft">
        Hướng dẫn mua hàng</div>
    <div class="midleftno">
        <ul id="left-menu" class="menu">
            <asp:ListView ID="lsvmuahang" runat="server">
                <ItemTemplate>
                    <li><a href="<%# Url(Eval("GroupNewId").ToString(),Eval("Id").ToString(),Eval("Name").ToString()) %>">
                        <%#Eval("Name")%></a></li>
                </ItemTemplate>
            </asp:ListView>
        </ul>
    </div>
    <div class="bottomleft">
    </div>
    <div class="headleft">
        Tin nổi bật</div>
    <div class="midleftno">
        <marquee onmouseover="this.stop();" onmouseout="this.start();" direction="up" height="220"
             scrollamount="1" behavior="alternate">
            
<div class="clear"></div><div class="gachleft"></div>
<asp:ListView ID="lsvnoibat" runat="server">
    <ItemTemplate>
        <div class="noibat"><a href="<%# Url(Eval("GroupNewId").ToString(),Eval("Id").ToString(),Eval("Name").ToString()) %>"><img src="<%#Eval("Image") %>" align="left" title="<%#Eval("Name") %>" alt="<%#Eval("Name") %>"></a><a href="<%# Url(Eval("GroupNewId").ToString(),Eval("Id").ToString(),Eval("Name").ToString()) %>"><%#Eval("Name") %></a></div>
    </ItemTemplate>
</asp:ListView>
</marquee>
    </div>
    <div class="bottomleft">
    </div>
    <div class="headleft">
        Sản phẩm bán chạy</div>
    <div class="midleftno">
        <marquee onmouseover="this.stop();" onmouseout="this.start();" direction="up" height="220"
            behavior="alternate" scrollamount="1">
<asp:ListView ID="lsvbanchay" runat="server">
    <ItemTemplate>
            <div class="noibatpro"><a href='<%# Url1(Eval("GroupId").ToString(),Eval("Id").ToString(),Eval("Name").ToString()) %>'><img src="<%#Eval("Image") %>" align="left" title="<%#Eval("Name") %>" alt="<%#Eval("Name") %>"></a><a href="#"><%#Eval("Name") %></a></div><div class="clear"></div><div class="gachleft"></div>
    </ItemTemplate>
</asp:ListView>
        
 </marquee>
    </div>
    <div class="bottomleft">
    </div>
    <div class="advleft">
        <asp:ListView ID="lsvquangcao" runat="server">
            <ItemTemplate>
                <a href="<%#Eval("Link") %>" target="_blank">
                    <img src="<%#Eval("Image") %>" alt="<%#Eval("Name") %>" style="border: 0px" width="150"
                        height="200"></a>
            </ItemTemplate>
        </asp:ListView>
    </div>
</div>
